import request from '@/utils/request'

export function faultcodeList(data) {
  return request({
    url: '/faultcodelist',
    method: 'post',
    params: data
  })
}

export function faultcodeDetail(data) {
  return request({
    url: '/faultcodedetail',
    method: 'post',
    params: data
  })
}

export function faultcodeCreate(data) {
  return request({
    url: '/faultcodeadd',
    method: 'post',
    params: data
  })
}

export function faultcodeEdit(data) {
  return request({
    url: '/faultcodeadd',
    method: 'post',
    params: data
  })
}
